package com.tienon.message.mq;

import java.io.IOException;

import com.ibm.mq.MQException;
import com.tienon.message.util.SpringUtil;

public class SendAppMsgMQRunnable implements Runnable{

	@Override
	public void run() {
		 
		MQSendAppMsgTask mqSendAppMsgTask = SpringUtil.getBean(MQSendAppMsgTask.class);
		try {
			mqSendAppMsgTask.sendTenDatasToMQ();
			
		} catch (MQException e) {
			
			e.printStackTrace();
		} catch (IOException e) {
			
			e.printStackTrace();
		}
		catch(Exception e){
			e.printStackTrace();
		}
		
		
	}

	
	
}
